package top.vanchor.myblog2back.service;

import com.github.pagehelper.PageInfo;
import top.vanchor.myblog2back.entity.BackAdmin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ding
 * @since 2022-01-27
 */
public interface IBackAdminService extends IService<BackAdmin> {

    BackAdmin toLogin(String username, String password);

    PageInfo<BackAdmin> getList(Integer pageNo, Integer pageSize,String title);

    int doEdit(BackAdmin bean);

    int getByUsername(String aUsername);

    int doDeleteBy(List<Integer> ids);
}
